package com.hnxxxy.jfmgr.pojo;

import lombok.Data;

import java.sql.Date;

@Data
public class Jf_detail {
    private int id;  // id
    private Integer userId;  // 用户id
    private Float grade;  // 分数
    private int status;  // 状态
    private int certificateType;  // 证书类型父id
    private int certificateTypePid;  // 证书类型子id
    private String returnReason;  // 打回原因
    private String updateTime; // 上传时间
    private int auditorId;  // 审核人id
    private String certificateExplain;  // 证书说明
    private Float numericalInterval=null;  // 数值区间
    private String detailedInformation;  // 详细信息
    private String certificateName="";  // 证书名字
    private String certificateTypeName;
    private String endTime;
    private String startTime;
    private String image;

    public void Jf_detail1(Float grade, int certificateType, int certificateTypePid, String updateTime, String certificateExplain, String detailedInformation, String certificateName,String certificateTypeName) {
        this.certificateTypeName = certificateTypeName;
        this.grade = grade;
        this.certificateType = certificateType;
        this.certificateTypePid = certificateTypePid;
        this.updateTime = updateTime;
        this.certificateExplain = certificateExplain;
        this.detailedInformation = detailedInformation;
        this.certificateName = certificateName;
    }

    public void Jf_detail2(Float grade, int certificateType, int certificateTypePid, String updateTime, String certificateExplain, Float numericalInterval, String detailedInformation, String certificateName,String certificateTypeName) {
        this.certificateTypeName = certificateTypeName;
        this.grade = grade;
        this.certificateType = certificateType;
        this.certificateTypePid = certificateTypePid;
        this.updateTime = updateTime;
        this.certificateExplain = certificateExplain;
        this.numericalInterval = numericalInterval;
        this.detailedInformation = detailedInformation;
        this.certificateName = certificateName;
    }
}
